* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body{
  font-family:'Source Han Sans CN','微软雅黑', "Microsoft YaHei", Arial, sans-serif;
  color: white;
}

h1, h2, h3, h4, h5, p {
  margin: 0;
  font-weight: 400;
}

ol, li, ul {
  list-style: none;
  margin: 0;
}
body{
  background: #141618 url("../img/bg.png") repeat;
  width: 100%;
}
.clear:after {
  content: "";
  height: 0;
  line-height: 0;
  display: block;
  visibility: hidden;
  clear: both;
}

.main {
  min-height: 100vh;
  width: 100%;
  min-width: 1900px;
  margin: 0 auto;
  max-width: 1920px;
  height: 1080px;
  position: relative;
}

.main-header{
  padding-top: 35px;
  width: 100%;
  z-index: 99;
  height: 124px;
  position: relative;
}

.main-logo{
  float: left;
  display: flex;
  align-items: center;
  color: white;
}

.main-weather{
  float: right;
  transform: translateY(8px);
  display: inline-block;
}

.main-logo-card{
  padding: 10px 10px 0 30px;
  vertical-align: top;
}

.main-logo-text h3{
  font-size: 28px;
  font-weight: bold;
  margin-bottom: 3px;
  line-height: 1.3;
}

.main-logo-text p{
  font-size: 16px;
}

.main-weather{
  display: flex;
  padding-right: 20px;
  align-items: center;
  color: #fff;
  height: 80px;
}

.main-weather>div{
  padding: 0 15px;
}

.main-weather>div:not(:last-child){
  border-right: 1px solid #434546;
}

.main-weather p{
  font-weight: 600;
  font-size: 22px;
  line-height: 1.3;
}

.main-weather span{
  font-size: 16px;
}

.weather-temperature{
  height: 52px;
  overflow:hidden;

}



.weather-temperature>div{
  position: relative;
  height: 52px;
}

.head-list{
  width: 1067px;
  height: 97px;
  background: url("../img/head-bg.png") no-repeat;
  position: absolute;
  left: 50%;
  top: 34px;
  margin-left: -486px;
  padding: 0 35px;
  display: flex;
  justify-content: space-between;
}
.head-list > li{
  float: left;
  /*width: 16.66%;*/
  /*padding-left: 34px;*/
  color: white;
  padding-top: 10px;
}
.icon-box{
  width: 34px;
  text-align: right;
  margin-right: 8px;
  font-size: 0;
  padding-top: 12px;
  display: inline-block;
  vertical-align: top;
}

.text-box{
  display: inline-block;
  vertical-align: top;
}
.text-box h3{
  font-size: 30px;
  color: #00D2E7;
}
.text-box h3 small{
  font-size: 14px;
  color: #fff;
}
.text-box p{
  padding-left: 2px;
}


.main-body{
  padding: 0 60px;
  height: calc(100% - 124px);
}
.main-body >div{
  padding-top: 50px;
  height: 100%;
}
.main-body-left{
  width: 536px;
  float: left;
}
.main-body-center{
  float: left;

  width: calc(100% - 971px);
}
.main-body-right{
  width: 435px;
  float: right;
}


.main-title{
  font-weight: 600;
  font-size: 20px;
  border-bottom: 1px solid #C1C1C1;
  position: relative;
}

.main-title>span{
  display: inline-block;
  line-height: 1;
  padding-bottom: 13px;
  border-bottom: 3px solid #00D2E7;
}
.violations{
  position: relative;
  height: 410px;
}
.violations .main-title{
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
}
.violation-trend{
  height: 100%;
  position: relative;
}
#charts1{
  width: calc(100% + 10px);
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
}
.violation-type{
  height: 290px;
  width: 100%;
}
.flex-s{
  display: flex;
  justify-content: space-between;
}
.charts3-t{
  font-size: 16px;
  font-weight: 500;
  line-height: 27px;
  margin-bottom: 10px;
}
.charts3{
  height: 490px;
  /*background: rgba(255,255,255,.2);*/
  /*border: 1px solid #fff;*/
}
.table-box{
  height: 400px;
  overflow: auto;
}
.table-box::-webkit-scrollbar{
  width:5px;
  height:5px;
}
.table-box::-webkit-scrollbar-track{
  background: #141618;
  border-radius:3px;
}
.table-box::-webkit-scrollbar-thumb{
  background: #444;
  border-radius:10px;
}
.table-box::-webkit-scrollbar-thumb:hover{
  background: #999;
}
.table-box::-webkit-scrollbar-corner{
  background: #204754;
}
.sw-tab{
  width: 139px;
  height: 30px;
  border: 1px solid #00D2E7;
  opacity: 1;
  border-radius: 17px;
  position: absolute;
  top: 0;
  right: 0;
  overflow: hidden;
}
.sw-tab span{
  height: 100%;
  font-size: 14px;
  display: inline-block;
  float: left;
  width: 50%;
  line-height: 28px;
  font-weight: normal;
  text-align: center;
  user-select: none;
  cursor: pointer;
}
.sw-tab span.active{
  background: #00D2E7;
}
.table-s{
  border-collapse: collapse;
  border-spacing: 0;
  width: 100%;
}
.table-s th{
  padding: 8px;
  color: white;
  text-align: left;
  font-size: 16px;
  height: 50px;
}
.table-s td{
  padding: 8px;
  color: #D1D1D1;
  text-align: left;
  font-size: 14px;
  height: 50px;
}
.table-s tbody tr:nth-child(2n+1){
  background: rgba(178,178,178,.1);
}

